Auto merge of #4770 - chabapok:master, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 9 Jan 2018 15:39:47 +0000 (15:39 +0000)
committerbors <bors@rust-lang.org>
Tue, 9 Jan 2018 15:39:47 +0000 (15:39 +0000)
commit3bb05363d2716b6fc283489f29814dec63684a69
treed13016b2b19c6e5c3603dc1aae6d47cb898bfe68
parent24aa3cab1c3e7dd839fec2751120a7e79ea049b5
parent3ed34979a7036c62e2227b43ad3a8117d04fc69f
Auto merge of #4770 - chabapok:master, r=alexcrichton

Add an "-Z offline" flag to Cargo, altering it's dependency resolution behavior

This PR is implementation of the #4686 (without "Populating the global cache" feature)
src/cargo/ops/registry.rs
src/cargo/util/config.rs